// 商品查询router

'use strict';

module.exports = app => {
  const { router, controller } = app;
  router.get('/tube/admin/queryProductClass', controller.cProductClass.pc_c_query);
  router.post('/tube/admin/createProductClass', controller.cProductClass.pc_c_create);
  router.put('/tube/admin/updateProductClass', controller.cProductClass.pc_c_update);
  router.delete('/tube/admin/deleteProductClass', controller.cProductClass.pc_c_delete);
  router.get('/tube/admin/queryAllProductClass', controller.cProductClass.pc_c_query_all);


  router.get('/tube/user/queryProductClass', controller.cProductClass.wa_c_query);
}
